#!/usr/bin/python

import sys
import random
import time

attesa = random.expovariate(1/ float(sys.argv[1]))
print attesa
time.sleep( attesa )